<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DeviceGrade extends Model
{
    //
    protected $fillable = ['device_id', 'grade_id'];

    public function device(){
        return $this->belongsTo(Device::class);
    }
    public function grade(){
        return $this->belongsTo(Grade::class);
    }
}
